//
//  OilCardSlideDiaCell.m
//  JxCarios
//
//  Created by phev on 15/2/13.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import "OilCardSlideDiaCell.h"

@implementation OilCardSlideDiaCell

- (void)awakeFromNib {
    // Initialization code
    _count = 3322;
}

- (void)setCount:(NSInteger)count{
    _count = count;
    if (count <= 0) {
        _count = 0;
        [_orderBtn setTitle:@"" forState:UIControlStateNormal];
        return;
    }
    [_orderBtn setTitle:[NSString stringWithFormat:@"%ld",_count] forState:UIControlStateNormal];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
